package com.situ.crm.service;

import com.situ.crm.pojo.entity.Permission;
import com.situ.crm.util.JSONResult;

public interface IPermissionService {

	JSONResult selectByPage(Integer page, Integer limit, Permission permission);

	boolean deleteById(Integer id);

	boolean deleteAll(String ids);

	boolean add(Permission permission);

	Permission selectByPrimaryKey(Integer permissionId);

	JSONResult selectAllPermisssions();

}
